package com.gks.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gks.entities.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT * FROM user WHERE account = #{account} LIMIT 1")
    User findByAccount(String account);
}
